/**
 * 
 */
package com.deck.server.shared.domain;

import java.io.Serializable;

import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

/**
 * @author Vincentas
 *
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = "false")
public class Card implements Serializable {

	@PrimaryKey
	private String id;
	
	@Persistent
	private String front;
	
	@Persistent
	private String back;

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the front
	 */
	public String getFront() {
		return front;
	}

	/**
	 * @param front the front to set
	 */
	public void setFront(String front) {
		this.front = front;
	}

	/**
	 * @return the back
	 */
	public String getBack() {
		return back;
	}

	/**
	 * @param back the back to set
	 */
	public void setBack(String back) {
		this.back = back;
	}
	
	
	
}
